package chapter_24_visitor.classic;

/**
 * @author yaochenglong
 * @date 2017/10/24
 */
public class ConcreteElement2 extends IElement {
    @Override
    public void doSomething() {
        //自己的业务逻辑
    }

    @Override
    public void accept(IVisitor iVisitor) {
        iVisitor.visit(this);
    }
}
